Yes i see your point mate. But look at it from God's viewpoint he gave them life & everything they needed to sustain it and all he asked for in return was their obedience but they couldn't even do that.
So surely God had a right to judge them in the way that he chose to.
I gave my son life, can i judge him anyway I chose to? Can I condemn him to death?
Think about this, if I put a gun on my childs dresser and told him not to touch it, would I be a good parent? No a loving father would not put it there to begin with. For all intent and purpose Adam and Eve were children (even though adult) inocent and inexperianced. If you believe the Genesis account I can't see how you say god is a loving father.